Clients Of Class (COC)

Description:

COC is defined as the number of classes that use the interface of the measured class.

Inner classes are not counted. In the context of this metric, class A uses interface of a class C if (at least) it calls a public method or accesses a public attribute of that class.